﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;

namespace DAO
{
    public class DataProvider
    {
        public static SqlConnection ConnectDB()
        {
            string connectionString = "server=localhost; database=HuongRung; User ID=sa; Pwd=da;Connect Timeout=40;";
            SqlConnection conn;
            conn = new SqlConnection(connectionString);
            conn.Open();
            return conn;
        }
    }
}
